package com.varian.auth.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author ben
 * @since 2024/7/26
 */
@Data
@Schema(title = "OAuth2验证码数据对象")
public class OAuth2CaptchaDTO {
    @Schema(title = "uuid")
    @NotBlank(message = "uuid不能为空")
    private String uuid;
    @Schema(title = "宽")
    @NotNull(message = "宽不能为空")
    private Integer width;
    @Schema(title = "高")
    @NotNull(message = "高不能为空")
    private Integer height;
    @Schema(title = "暗黑主题")
    @NotNull(message = "暗黑主题不能为空")
    private Boolean darkTheme;
}
